package com.hrbu.springboot04.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @Description:
 * @Author: tanyajun
 * @CreateTime: 2021/4/9
 * @Blog: https://tanyajun.top
 */
@Data
public class User {
    @TableId(type=IdType.AUTO)
    private Integer id;
    private String name;
    private Integer age;
    private String email;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String password;
}
